/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package androidutal;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Toolkit;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 *
 * @author blackmoon
 */
public class JPanelFondo extends JPanel {

    ImageIcon fondo;
    JVentana ventana;
    JLabel imagen;

    
    public JPanelFondo(JVentana ventana) {
        this.ventana= ventana;
        fondo = new ImageIcon(Toolkit.getDefaultToolkit().createImage("iconos//fondo.png"));
        this.setVisible(true);
        imagen = new JLabel(fondo);
        this.setLayout(new BorderLayout());
        this.add(imagen,BorderLayout.EAST);
        this.setBackground(Color.BLACK);
  
    }
    
    
  
    
    
}
